﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DingHeng.TransportationManagement.Entity
{
    public class Pager<T>
    {
        public const int MaxPageSize = 999999999;

        public int PageCount { set; get; }

        public string OrderBy { set; get; }

        public int PageSize { set; get; }

        public int PageIndex { set; get; }

        public int TotalCount { set; get; }

        private List<T> _EntityList = new List<T>();

        public List<T> CurrentPageList
        {
            get
            {
                return this._EntityList;
            }
            set
            {
                this._EntityList = value;
            }
        }
    }
}
